package wnco.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.neo4j.ogm.annotation.GeneratedValue;
import org.neo4j.ogm.annotation.Id;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Property;

import java.io.Serializable;
import java.util.List;
@Data@AllArgsConstructor@NoArgsConstructor@Builder
@NodeEntity("INode")
/*节点*/
public class INode implements Serializable {
    @Id
    @GeneratedValue //设置主键自增
    private Long id;
    @Property
    private List<String> name;
    @Property
    private String dog;


}
